import http from '../utils/request'


//获取锁的密码
export const getLockPassword = data => {
  return http.request({
    url: `/house/manage/getDeviceVistCode`,
    method: 'get',
    params: data
  })
}
//开门记录
export const openDoorSave = data => {
  return http.request({
    url: `/house/manage/save`,
    method: 'post',
    data: JSON.stringify(data)
  })
}
